package com.hexiang.ratelimit;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

/**
 * @author MSI
 */
@Data
@AllArgsConstructor
@ToString
public class RateLimitException extends RuntimeException {

    private final String apiKey;

    private final double rate;

    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }

}